<%
/*Auther name      : Frederic Anand
  file name        : 500.jsp
  date modified    : 17-Feb-2009
  revision history :
*/
%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>droik.com - User Login</title>
<link href="css/sample1.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="file:///C|/rajiv/env/webapp/ba/css/sample1.css" type="text/css">
<style type="text/css">
	<!--
	body {
		background-image: url(images/main_bg2.gif);
	}
	-->
</style>

<!-- by razia -->
<%
String redirect=request.getParameter("change");
%>
</head> 	
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<jsp:include page="top_empty.html"></jsp:include><br>
<html:form  action="/portal/login.do?action=Login">
<input type="hidden" name="change" value= <%= request.getParameter("change")%> />
<table width="720" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td><img src="../images/classifieds_tab.gif" width="720" height="76" border="0" usemap="#Map"></td>
	</tr>
	<tr>
    		<td background="../images/border_bg2.gif"> 
      			<table width="95%" border="0" cellspacing="0" cellpadding="1" align="center" bgcolor="#99CC33">
				<tr>
					<td>
						<table border="0" cellspacing="0" cellpadding="4" width="100%" align="center">
							<tr bgcolor="#CCFF33"> 
								<td class="title" colspan="4"> Login to your portal: </td>
							</tr>
							
							<tr valign="middle"> 
								<td height="3" align="center" class="text" width="20%"></td>
								<td align="center" width="80%"></td>
							</tr>
							
							<tr bgcolor="#FFFFFF"> 
								<td valign="top" class="error" height="27" colspan="2"><logic:present name="PASS_NOT_MATCH"> 
									<bean:message key="PasswordNoMatch"/> </logic:present><logic:present name="USER_NOT_EXIST"> 
									<bean:message key="UserNotPresent"/> </logic:present><logic:present name="USER_NOT_LOGGED_IN"> 
									<bean:message key="Protected"/> </logic:present><logic:present name="NEWUSER"><bean:message key="RegistrationConfirmation"/></logic:present> 
									<logic:present name="FORGOTPASS"> <bean:message key="SendAnEmail"/> 
									</logic:present><html:errors/>
								</td>
							</tr>
              								<%session.removeAttribute("NEWUSER");%>
							<tr bgcolor="#FFFFFF"> 
								<td width="20%" valign="top" class="boldtext"> 
									<div align="right">User Name:</div>
								</td>
								<td width="80%" class="text">
									<html:text property="userName"/>(Your e-mail address)
								</td>
							</tr>
							
							<tr bgcolor="#FFFFFF"> 
								<td valign="top" class="boldtext" height="27" width="20%"> 
									<div align="right">Password:</div>
								</td>
								<td width="80%"><html:password property="password"/> </td>
							</tr>
              
							<tr bgcolor="#FFFFFF"> 
								<td valign="middle" colspan="2" class="text" align="center"> <html:submit value="Login"/></td>
							</tr>
              
							<tr bgcolor="#FFFFFF"> 
								<td valign="top" height="44" class="title_link" colspan="2"> 
									<div align="center"><a href="../jsp/ForgotPassword.jsp"><strong>Forgot your password</strong><img src="../images/Help2.gif" width="32" height="32" border="0"></a></div>
								</td>
							</tr>
              
							<tr> 
								<td height="0" width="20%"></td>
								<td width="80%"></td>
							</tr>
						</table>
          				</td>
          				<td bgcolor="#FFFFFF"><logic:present name="NEWUSER"> 
          					<table width="95%"  border="0" align="right" cellpadding="3" cellspacing="2">
							<tr>
								<td colspan="2" class="title"><font color="#000000">Post an Ad for free</font><br>
								<span class="style2">3 easy steps</span> </td>
							</tr>
							<tr class="boldtext">
								<td width="42"><div align="right">1</div></td>
								<td width="165"><font color="#333333">Register</font></td>
							</tr>
							
							<tr class="boldtext">
								<td width="42"><div align="right">2</div></td>
								<td><font color="#333333">Post</font></td>
							</tr>
							
							<tr class="boldtext">
								<td width="42"><div align="right">3</div></td>
								<td><font color="#333333">get replies </font></td>
							</tr>
          
							<tr>
								<td colspan="2"><a href="../portal/editSubscription.do?action=Create"><img src="../images/get_started_now.gif" width="195" height="44" border="0"></a></td>
							</tr>
        					</table></logic:present>
        				</td>
        			</tr>
      			</table>      
		</td>
	</tr>
	<tr>
		<td><img src="../images/border_bot2.gif" width="719" height="20"></td>
	</tr>
</table> 
<br>
<br>
<jsp:include page="footer.html"/>
</html:form> 
	<map name="Map">
		<area shape="rect" coords="33,3,120,56" href="../portal/index.do">
		<area shape="rect" coords="127,3,214,56" href="/Editorial">
		<area shape="rect" coords="222,2,315,67" href="/News">
		<area shape="rect" coords="324,3,395,56" href="/Estate">
	</map>
</html>